package design.onekey.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import design.onekey.base.GenericMapper;
import design.onekey.model.FileLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Description: FileLogMapper类
* @author
* @date 2020-06-28 09:30:52
* @version V1.0
 */
public interface FileLogMapper extends BaseMapper<FileLog>, GenericMapper<FileLog> {
    /**
     * @Title: getRangeIds
     * @Description: 获取范围内的id
     * @param operateLog
     * @return
     * @author caiyang
     * @date 2020-08-07 09:09:11
     */
    List<Long> getRangeIds(FileLog model);

    /**
     * @Title: getTableList
     * @Description: 获取表格数据
     * @param map
     * @return
     * @author caiyang
     * @date 2020-08-07 09:30:43
     */
    List<FileLog> getTableList(@Param("ids") List<Long> ids);
}
